#ifndef KFC_H_INCLUDED
#define KFC_H_INCLUDED

#include <stdlib.h>

//extern "C" {
    #include <matrix.c>
//}

extern int SNS_CNT;
extern int STT_LEN;
/*extern int ROWS_A;
extern int ROWS_P;
extern int ROWS_B;
extern int ROWS_C;
extern int ROWS_D;
extern int ROWS_H;
extern int ROWS_K;
extern int ROWS_N;*/

extern MTX A, At;
extern VECT X;
extern MTX P;
extern MTX B;
extern MTX C;
extern MTX D;
extern MTX H;
extern MTX K;
extern MTX N;
extern VECT U;

extern void initialize_kf(char *pFilePath);
extern void evaluate_step(VECT pZ, VECT pU);
extern void release_kf();

extern void calc_ABAtC(int rows_a, int cols_a, MTX A, int cols_b, MTX B, MTX C, MTX res);

#endif // KFC_H_INCLUDED
